package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class Template implements Serializable {
    private Integer id;

    private Integer companyId;

    private String name;

    private String imgUrl;

    private Integer imgUrlWidth;

    private Integer imgUrlHeigth;

    private String imgHtml;

    private Integer imgWidth;

    private Integer imgHeight;

    private Integer positionWidth;

    private Integer positionHeight;

    private Integer state;

    private Date stateTime;

    private Integer userNum;

    private Integer type;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Template(Integer id, Integer companyId, String name, String imgUrl, Integer imgUrlWidth, Integer imgUrlHeigth, String imgHtml, Integer imgWidth, Integer imgHeight, Integer positionWidth, Integer positionHeight, Integer state, Date stateTime, Integer userNum, Integer type, Date createTime, Date updateTime) {
        this.id = id;
        this.companyId = companyId;
        this.name = name;
        this.imgUrl = imgUrl;
        this.imgUrlWidth = imgUrlWidth;
        this.imgUrlHeigth = imgUrlHeigth;
        this.imgHtml = imgHtml;
        this.imgWidth = imgWidth;
        this.imgHeight = imgHeight;
        this.positionWidth = positionWidth;
        this.positionHeight = positionHeight;
        this.state = state;
        this.stateTime = stateTime;
        this.userNum = userNum;
        this.type = type;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Template() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public Integer getImgUrlWidth() {
        return imgUrlWidth;
    }

    public void setImgUrlWidth(Integer imgUrlWidth) {
        this.imgUrlWidth = imgUrlWidth;
    }

    public Integer getImgUrlHeigth() {
        return imgUrlHeigth;
    }

    public void setImgUrlHeigth(Integer imgUrlHeigth) {
        this.imgUrlHeigth = imgUrlHeigth;
    }

    public String getImgHtml() {
        return imgHtml;
    }

    public void setImgHtml(String imgHtml) {
        this.imgHtml = imgHtml == null ? null : imgHtml.trim();
    }

    public Integer getImgWidth() {
        return imgWidth;
    }

    public void setImgWidth(Integer imgWidth) {
        this.imgWidth = imgWidth;
    }

    public Integer getImgHeight() {
        return imgHeight;
    }

    public void setImgHeight(Integer imgHeight) {
        this.imgHeight = imgHeight;
    }

    public Integer getPositionWidth() {
        return positionWidth;
    }

    public void setPositionWidth(Integer positionWidth) {
        this.positionWidth = positionWidth;
    }

    public Integer getPositionHeight() {
        return positionHeight;
    }

    public void setPositionHeight(Integer positionHeight) {
        this.positionHeight = positionHeight;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getStateTime() {
        return stateTime;
    }

    public void setStateTime(Date stateTime) {
        this.stateTime = stateTime;
    }

    public Integer getUserNum() {
        return userNum;
    }

    public void setUserNum(Integer userNum) {
        this.userNum = userNum;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}